#ifndef __IENCODER_AGORA_H__
#define __IENCODER_AGORA_H__

#include "IBuffer.h"

class IEncoder
{
public:
	virtual ~IEncoder(){};
	virtual void Encode(IBuffer *bufferIn, IBuffer *bufferOut, unsigned short frequence) = 0;
	virtual void Decode(void *data, unsigned int size, IBuffer *bufferOut, unsigned short frequence) = 0;
	virtual void SetQuality(int quality) = 0;
	virtual int GetQuality(int quality) = 0;
};

#endif